import request from '@/utils/request'

// 查询发行方管理列表
export function issuerList(query) {
  return request({
    url: '/equityManager/issuer/list',
    method: 'get',
    params: query
  })
}
// 新增发行方
export function addIssuer(data) {
  return request({
    url: '/equityManager/issuer',
    method: 'post',
    data: data
  })
}
// 获取发行方信息
export function getIssuer(id) {
  return request({
    url: '/equityManager/issuer/' + id,
    method: 'get'
  })
}
// 修改发行方
export function updateIssuer(data) {
  return request({
    url: '/equityManager/issuer',
    method: 'put',
    data: data
  })
}
